package collection;

import string.Point;

import java.util.ArrayList;

public class Student <T> {
    int age;
    String name;
    T salary;


    public static void main(String[] args) {
        Student s1 = new Student();
        s1.age=4;
        s1.name="lili";
        s1.salary=5.6;
        s1.salary="十亿";
        s1.salary=new ArrayList<>();
        s1.salary=new int[4];

        Student<String> s2 = new Student();
        s2.salary="";
       // s2.salary=4;
        Student <Point> s3= new Student();
        s3.salary=new Point();


    }
}
